﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Detail.aspx.cs" Inherits="Edit" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:Label ID="lblWName" runat="server" Text="WName"></asp:Label>
            <asp:TextBox ID="txtWName" runat="server" MaxLength="80" Enabled="False"></asp:TextBox><br />
            <asp:Label ID="lblWDescription" runat="server" Text="WDescription"></asp:Label>
            <asp:TextBox ID="txtWDescription" runat="server" MaxLength="255" Enabled="False"></asp:TextBox><br />
            <asp:Label ID="lblOwner" runat="server" Text="Owner"></asp:Label>
            <asp:Label ID="txtOwner" runat="server"></asp:Label>
            <asp:HiddenField ID="hidOwnerID" runat="server" />
            <asp:GridView ID="GridView1" runat="server" OnRowDataBound="GridView1_RowDataBound" AutoGenerateColumns="False">
                <Columns>
                    <asp:TemplateField HeaderText="Description">
                        <ItemTemplate>
                            <asp:Label ID="lblWDDescription" runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Username">
                        <ItemTemplate>
                            <asp:Label ID="lblUsername" runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <asp:Label ID="lblWDDescription" runat="server" Text="WDDescription"></asp:Label>
            <asp:TextBox ID="txtWDDescription" runat="server" MaxLength="255"></asp:TextBox><br />
            <asp:Label ID="lblStatus" runat="server"></asp:Label><br />
            <asp:Button ID="btnInsert" runat="server" Text="Insert" OnClick="btnInsert_Click" />
            <asp:Button ID="btnDelete" runat="server" Text="Delete" OnClick="btnDelete_Click" OnClientClick="javascript:return confirm('Are you sure?');" />
        </div>
    </form>
</body>
</html>
